package datamining.miner.general;

import java.io.Serializable;
import java.util.BitSet;

import datamining.common.Frequented;
import datamining.sequence.Sequence;

/** 
 * 创建于 2012-11-18 下午9:32:11
 * 
 * @author xujinghu (jinghuxu@nudt.edu.cn)
 * 
 * Copyright 2012 xujinghu
 * 
 * Lisence: Apache
 */
public interface IndexedSequence<ItemType> extends Frequented,Serializable{


/** @return a (sub-)set of the relevant edges of the graph */
public int getItemIndex(int itemSetIndex, ItemType lable);

/** @return the index of this graph in the local environment */
public int getIndex();

/** @return the original graph represented by this database graph */
public Sequence<ItemType> toSequence();

}
